package com.fand.user.service;

import org.springframework.cache.annotation.CacheEvict;

import com.fand.common.service.CommonService;
import com.fand.user.dao.UserDao;

/**
 * 用户服务
 * 
 * @author haitao.yao
 * 
 */
public class DefaultUserService implements UserService {
	private CommonService commonService;

	private UserDao userDao;

	@Override
	public CommonService getCommonService() {
		return this.commonService;
	}

	@Override
	@CacheEvict(value = UserService.CACHE_NAME, allEntries = true)
	public void reload() {
	}

	public void setCommonService(final CommonService commonService) {
		this.commonService = commonService;
	}

	public void setUserDao(final UserDao userDao) {
		this.userDao = userDao;
	}
}